import { MessageType } from "../Message";

export type MemberType = {
    id: number;
    username: string;
    avatar: string;
    gender: string;
    createdAt: string;
}

export type FriendType = MemberType & {
    chatId: number;
    messages: MessageType[];
    unread?: number;
}
